<template>
  <div id="app">
    <div class="Hearder">
   <mt-header fixed title="尹承建"></mt-header>
    </div>

	<div class="mai">
		<transition>
		 <router-view></router-view>	

		</transition>
	</div>
		
	    
    <div class="button">
        <nav class="mui-bar mui-bar-tab">
			<router-link class="mui-tab-item" to="/first">
				<img class="mui-icon music" src="./assets/first.jpg" alt="">
				<span class="mui-tab-label">首页</span>
			</router-link>
			<router-link class="mui-tab-item" to="/message">
				<img class="mui-icon music" src="./assets/music.jpg" alt="">
				<span class="mui-tab-label">音乐</span>
			</router-link>
			<router-link class="mui-tab-item" to="/shopcar">
				<img class="mui-icon music" src="./assets/weather.jpg" alt="">
				<span class="mui-tab-label">天气</span>
			</router-link>
			<router-link class="mui-tab-item" to="/my">
				<img  class="mui-icon music" src="./assets/下载.jpg" alt="">
				<span class="mui-tab-label">每日一笑</span>
			</router-link>
		</nav>
    </div>
   
  </div>
</template>

<style>

.mai{
	padding-top: 40px;
	padding-bottom: 50px;
	overflow-x: hidden;
	overflow-y: scroll;
	
}
.v-enter{
	opacity: 0;
	 transform: translateX(100%);
}
.v-leave-to{
	 opacity: 0;
	 transform: translateX(-100%);
	 position: absolute;
}
.v-enter-active,
.v-leave-active{
	transition: all 0.3s ease;
	
}.music{
	width: 24px;
	height: 24px;
}


</style>
